package org.bright.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.bright.entity.Book;

import java.util.List;
@Mapper
public interface BookMapper {
    int insertIntoBook(Book book);
    int updateIntoBook(Book book);
    List<Book> selectBookByBookNameAndAuthor(@Param("bookName") String bookName,@Param("author") String author);
}
